home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
util
/
misc
/
insult.lha
/
Insult
/
Insult.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-11
|
3KB
|
74 lines
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
char *title[]={"Sire","Knave","Sir","Squire","My Liege","Your Majesty","Fop",
"Woman","Old Man","Lord","Peasant","Serf","Get thee gone","Fie",
"Begone","From thy visage I presume","I faith, nuncle","Tis said that",
"Tis plain to mine eye","Fool","Marry, I faith",""};
char *first[]={"artless","bawdy","beslubbering","bootless","churlish",
"cockered","clouted","craven","currish","dankish","dissembling",
"droning","errant","fawning","fobbing","froward","frothy","gleeking",
"goatish","gorbellied","impertinent","infectious","jarring",
"loggerheaded","lumpish","mammering","mangled","mewling","paunchy",
"pribbling","puking","puny","quailing","rank","reeky","roguish","ruttish",
"saucy","spleeny","spongy","surly","tottering","unmuzzled","vain",
"venomed","villainous","warped","wayward","weedy","yeasty",""};
char *second[]={"base-court","bat-fowling","beef-witted","beetle-headed",
"boil-brained","clapper-clawed","clay-brained","common-kissing",
"crook-pated","dismal-dreaming","dizzy-eyed","doghearted",
"dread-bolted","earth-vexing","elf-skinned","fat-kidneyed",
"fen-sucked","flap-mouthed","fly-bitten","folly-fallen","fool-born",
"full-gorged","guts-griping","half-faced","hasty-witted","hedge-born",
"hell-hated","idle-headed","ill-breeding","ill-nurtured","knotty-pated",
"milk-livered","motley-minded","onion-eyed","plume-plucked","pottle-deep",
"pox-marked","reeling-ripe","rough-hewn","rude-growing","rump-fed",
"shard-borne","sheep-biting","spur-galled","swag-bellied","tardy-gaited",
"tickle-brained","toad-spotted","urchin-snouted","weather-bitten",""};
char *third[]={"apple-john","baggage","barnacle","bladder","boar-pig",
"bugbear","bum-bailey","canker-blossom","clack-dish","clotpole",
"coxcomb","codpiece","death-token","dewberry","flap-dragon",
"flax-wench","flirt-gill","foot-licker","fustilarian","giglet",
"gudgeon","haggard","harpy","hedge-pig","horn-beast","hugger-mugger",
"jolthead","lewdster","lout","maggot-pie","malt-worm","mammet","measle",
"minnow","miscreant","moldwarp","mumble-news","nut-hook","pigeon-egg",
"pignut","puttock","pumpion","ratsbane","scut","skainsmate","strumpet",
"varlet","vassal","whey-face","wagtail",""};
void main()
{
int titlelen=0,firstlen=0,secondlen=0,thirdlen=0;
int titlernd,firstrnd,secondrnd,thirdrnd;
char vowel[2];
char x;
srand(time(NULL));
while(title[titlelen][0]!='\0')
titlelen++;
titlernd=(int)rand()%titlelen;
while(first[firstlen][0]!='\0')
firstlen++;
firstrnd=(int)rand()%firstlen;
while(second[secondlen][0]!='\0')
secondlen++;
secondrnd=(int)rand()%secondlen;
while(third[thirdlen][0]!='\0')
thirdlen++;
thirdrnd=(int)rand()%thirdlen;
strcpy(vowel,"");
x=first[firstrnd][0];
if(x=='a'||x=='e'||x=='i'||x=='o'||x=='u')
strcpy(vowel,"n");
printf("%s, thou art nought but a%s %s %s %s.\n",title[titlernd],vowel,
first[firstrnd],second[secondrnd],third[thirdrnd]);
}